package io.renren.common.enums;

public enum PunchStatus {

    ISPUNCH(1, "已打卡"), NOPUNCH(0, "未打卡"),
    ISNORMAL(1, "体温正常"), NONORMAL(0, "体温异常"),
    ISHOT(1, "发热"), NOHOT(0, "正常"),
    ISCOUGH(1, "咳嗽"), NOCOUGH(0, "不咳嗽"),
    WARMCORNER(1, "去过高风险地域"), NOWARMCORNER(0, "未去过高风险地域"),
    HEALTHCODE(1, "码正常"), DANGERCODE(0, "码异常"),
    ;

    private String desc;
    private Integer level;

    private PunchStatus(Integer level, String desc) {
        this.desc = desc;
        this.level = level;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

}
